package com.xuecheng.manage_cms.service;

import com.xuecheng.framework.domain.cms.CmsConfig;
import com.xuecheng.manage_cms.dao.ConfigMongoDbDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ShengJinFeng
 * @version V1.0
 * @ClassName CmsConfigService
 * @Description (这里用一句话描述这个类的作用)
 * @date 2020/1/23 16:30
 * @since V1.0
 */
@Service
public class CmsConfigService {

    @Autowired
    private ConfigMongoDbDao configMongoDbDao;

    /**
     * @Description 根据id查询CMS配置信息
     * @author ShengJinFeng
     * @date 2020/1/23
     */
    public CmsConfig getModelById(String id) {
        return configMongoDbDao.queryById(id);
    }
}
